package Java多线程技术.第3章.一生产多消费;

public class P2 {

    private MyStack2 myStack2;


    public P2(MyStack2 myStack2) {
        this.myStack2 = myStack2;
    }

    public void pushService(){
        myStack2.push();
    }
}
